<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>等级配置</title>
    <link rel="stylesheet" href="../../plugins/layui/css/layui.css" type="text/css">
    <link rel="stylesheet" href="/plugins/font-awesome-4.7.0/css/font-awesome.css" media="all">
    <script src="/plugins/layui/layui.js"></script>
    <!--<script src="/common/jquery-2.1.1.js"></script>-->
    <!--  <script src="/common/jquery.json-2.4.js"></script>-->
    <script src="/js/reward/numberConfig.js"></script>
    <script typet="text/javascript" src="http://libs.baidu.com/jquery/1.9.1/jquery.min.js"></script>

</head>
<style>
    .title-cust-ui {
        position: relative;
        height: 42px;
        line-height: 42px;
        padding: 0 10px 0px 0px;
        color: #333;
        background-color: #f2f2f2;
        font-size: 15px;
        overflow: hidden;
    }
</style>
<body class="layui-layout-bodybody">
<!-- 操作头部工具栏-->
<script type="text/html" id="addLevel">
    <div>
        <button class="layui-btn layui-btn-sm " id="add" lay-event="add"><span class="fa fa-plus addicon"></span>添加</button>
        <button class="layui-btn layui-btn-sm " id="batchAdd" lay-event="batchAdd"><span class="fa fa-plus addicon"></span>批量添加</button>
        <button class="layui-btn layui-btn-sm layui-btn-danger" id="cleanData" lay-event="cleanData"><span class="fa fa-plus addicon"></span>清空数据</button>
    </div>
</script>
<div style="display: none;padding-left: 120px;padding-top: 50px" id="numberConfigDiv">
    <form action="" method="post" class="layui-form " id="dataFrm" lay-filter="dataFrm">
        <div class="layui-form-item">
            <label class="layui-form-label">编号</label>
            <div class="layui-input-inline">
                <input type="text" name="id" id="number_id" lay-verify="required" class="layui-input" disabled>
            </div>

            <label class="layui-form-label">姓名</label>
            <div class="layui-input-inline">
                <input name="name" lay-verify="required" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">部门</label>
            <div class="layui-input-inline">
                <input type="text" class="layui-input" name="development">
            </div>
            <label class="layui-form-label">专业</label>
            <div class="layui-input-inline">
                <input name="major" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">班级</label>
            <div class="layui-input-inline">
                <input type="text" class="layui-input" name="classes">
            </div>
            <label class="layui-form-label">电话</label>
            <div class="layui-input-inline">
                <input name="phone" autocomplete="off" class="layui-input">
            </div>
        </div>

        <div class="layui-form-item">
            <div class="layui-block">
                <button type="button" style="margin-left: 25px" class="layui-btn addbtn" lay-submit="" lay-filter="doSubmit" id="doSubmit"><i class="fa fa-check-square restbtn"></i>提交</button>
                <button type="reset" class="layui-btn layui-btn-warm addrestbtn "><i class="fa fa-refresh restbtn"></i>重置</button>
            </div>
        </div>
    </form>
</div>

<div style="display: none;padding: 5px" id="addOrUpdateDiv">
    <form action="#" method="post" class="layui-form layui-form-pane" id="dataFrm1" lay-filter="dataFrm1" enctype="multipart/form-data">
        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label">请选择文件</label>
                <div class="layui-input-inline">
                    <input type="file" class="layui-btn" value="" id="uploadExcel" name="file" accept="application/vnd.ms-excel,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet">
                </div>
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-input-block" style="text-align: center;">
                <button type="button" class="layui-btn" lay-submit="" lay-filter="doSubmitUpload" id="doSubmitUpload"><span class="layui-icon layui-icon-add-1"></span>提交</button>
                <button type="reset" class="layui-btn layui-btn-warm"><span class="layui-icon layui-icon-refresh-1"></span>重置</button>
            </div>
        </div>
    </form>
</div>
<!-- 添加和修改的弹出层结束 -->


<div class="layui-table" style="margin-top: 10px">
    <div class="title-cust-ui"><span style="margin-left: 10px">抽奖成员池</span></div>
    <table class="layui-table" id="tab_numberConfig" lay-filter="f-numberConfig" style="margin-top: -10px"></table>
</div>


<script type="text/html" id="id_numberConfig">
    <button class="layui-btn  layui-btn-xs" lay-event="modify"><span class="fa fa-pencil-square-o addicon"></span>修改</button>
    <button class="layui-btn layui-btn-danger layui-btn-xs " lay-event="delete"><span class="fa fa-trash-o addicon"></span>删除</button>
</script>
</body>
</html>